<template>
  <div class="container">
    <main>
      <Search v-model="searchWord" />
      <Definition :searchWord="searchWord" />
    </main>
  </div>
</template>

<script setup lang="ts">
import { ref, reactive, watch } from "vue";
import Search from "./components/Search.vue";
import Definition from "./components/Definition.vue";

const searchWord = ref();
</script>

<style lang="scss">
* {
  padding: 0;
  box-sizing: border-box;
  margin: 0;
}
div.container {
  height: 100vh;
  overflow: hidden;
  background-color: #282c34;
  main {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 1rem;
  }
}
</style>
